<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片风格转换</title>
    <style>
        /* 可选样式，用于美化表单 */
        form {
            margin: 20px;
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 8px;
        }

        input[type="file"], select, input[type="submit"] {
            margin-bottom: 10px;
        }

        select {
            width: 100%;
            padding: 8px;
            border-radius: 4px;
            border: 1px solid #ccc;
        }

        input[type="submit"] {
            width: 100%;
            padding: 10px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>

<h1>图片风格转换工具</h1>

<form enctype="multipart/form-data" method="post" action="/train/face">
    <label for="img">选择图片：</label>
    <input type="file" name="img" id="img"><br>

    <label for="style">选择风格：</label>
    <select name="style" id="style">
        <option value="anime">日漫风</option>
        <option value="3d">3D特效</option>
        <option value="handdrawn">手绘风</option>
        <option value="sketch">铅笔画</option>
        <option value="artstyle">艺术特效</option>
        <option value="claborate">国画工笔画</option>
        <option value="hongkong">港漫风</option>
        <option value="comic">漫画风格</option>
        <option value="animation3d">动画3D</option>
    </select><br>

    <input type="submit" value="提交">
</form>

</body>
</html>